package com.zmn.oms.model.dto.order.open;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：取消订单
 *
 * @author liuying
 * @date 2019/03/19 15:28
 */
@Data
@ToString(callSuper = true)
public class CancelOrderDTO implements Serializable {

    /**
     * 渠道ID
     */
    @NotNull(message = "渠道ID不能为空")
    private Integer channelId;

    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 取消原因
     */
    private String remark;

}
